package com.guo.hui.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @ClassName CommonController
 * @Description TODO
 * @Author zhengguohui
 * @Date 2018/8/21 15:28
 */

@Controller
public class CommonController {


    @RequestMapping("/base")
    @ResponseBody
    public String base() {
        return "base-data";
    }

    @RequestMapping("/baseJson")
    @ResponseBody
    public String baseJson() {
        return "baseJson";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }

    @RequestMapping("/index")
    public String index() {
        return "index";
    }

    @RequestMapping("/home")
    public String home() {
        return "home";
    }

    @RequestMapping("/hello")
    public String hello() {
        return "hello";
    }
}
